﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CompactFramework.Utilities.Localization;

namespace TripLOAMobile
{
    public partial class Feedback : LocalizedForm
    {
        WS_SoapLogin.Feedback[] feedbacks;
        public Feedback(WS_SoapLogin.Feedback[] f)
        {
            feedbacks = f;
            InitializeComponent();
            this.AddMenusToDictionary();
            UpdateResources();
        }

        protected override void AddMenusToDictionary()
        {
            this.AddMenuToDictionary(this.menuLeft, "menuLeft");
        }

        protected override void OnPaint(PaintEventArgs e)
        {
            //Added to prevent painting of "ok" button
            WinAPI.ShowDoneButton(this.Handle, false);
            base.OnPaint(e);
        }

        private void menuLeft_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}